// ExcelAppDlg.h : header file
//

#if !defined(AFX_EXCELAPPDLG_H__4B45F484_984C_49BA_8F7E_1DA508F42ACA__INCLUDED_)
#define AFX_EXCELAPPDLG_H__4B45F484_984C_49BA_8F7E_1DA508F42ACA__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "comdef.h"      // add wangliping 
#include "excel.h"  

/////////////////////////////////////////////////////////////////////////////
// CExcelAppDlg dialog
//void delet(node *head);
class CExcelAppDlg : public CDialog
{
// Construction
public:
	CExcelAppDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CExcelAppDlg)
	enum { IDD = IDD_EXCELAPP_DIALOG };
	CEdit	m_edit;
	CListCtrl	m_list;
	CListCtrl	m_list2;
	int		m_sheetnum;
	CString	m_content;
	int		m_colunm;
	int		m_row;
	CString	m_sheetName;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CExcelAppDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CExcelAppDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	virtual void OnOK();
	afx_msg void OnButton1();
	afx_msg void OnDblclkList2(NMHDR* pNMHDR, LRESULT* pResult);
   // afx_msg void print(CString str);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};
UINT ThreadFun(LPVOID);
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_EXCELAPPDLG_H__4B45F484_984C_49BA_8F7E_1DA508F42ACA__INCLUDED_)
